<%--
  Created by IntelliJ IDEA.
  User: bonoh
  Date: 2023/10/25
  Time: 13:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>include</title>
</head>
<body>
<%!
double a=3,b=4,c=5;
%>
<BR>加载triangle.jsp计算三边为<%=a%>,<%=b%>,<%=c%>的三角形面积：
<jsp:include page="triangle.jsp" flush="false">
    <jsp:param name="sideA" value="<%=a%>"/>
    <jsp:param name="sideB" value="<%=b%>"/>
    <jsp:param name="sideC" value="<%=c%>"/>
</jsp:include>
</body>
</html>